package com.newbingo.service;

import com.newbingo.dao.imple.IAgentPerviewDao;
import com.newbingo.entity.AgentPerview;

public class AgentPerviewService {
	private IAgentPerviewDao agentPerviewDao;
	
	public void save(AgentPerview instance){
		agentPerviewDao.save(instance);
	}
	
	public void delete(Integer agentId){
		agentPerviewDao.deleteByAgentId(agentId);
	}


	
	public IAgentPerviewDao getAgentPerviewDao() {
		return agentPerviewDao;
	}

	public void setAgentPerviewDao(IAgentPerviewDao agentPerviewDao) {
		this.agentPerviewDao = agentPerviewDao;
	}
	
}
